package com.pattern.structural.facade;

public class Outlook {

	private NetEaseMail netEaseMail;
	private SinaMail sinaMail;
	
	public Outlook() {
		netEaseMail = new NetEaseMail();
		sinaMail = new SinaMail();
	}
	
	public void receiveMails() {
		netEaseMail.login163Mail();
		netEaseMail.getUnreadMail();
		sinaMail.loginSinaMail();
		sinaMail.getUnreadMail();
	}
}
